package com.jiaxz.cloud.movie.feign;

import org.springframework.cloud.netflix.feign.FeignClient;

import com.jiaxz.cloud.movie.entity.User;
import com.jiaxz.config.UserFeignConfiguration;

import feign.Param;
import feign.RequestLine;

/**
 * 用feign注解 
 * @author jiaxz
 *
 */
@FeignClient(name="microservice-simple-provicer-user",configuration=UserFeignConfiguration.class)
public interface UserFeignSelfAnnotationInterface {
	 @RequestLine("GET /user/findById/{id}")
	 User findById(@Param("id") long id);
}
